﻿.field-validation-error,
.validation-summary-errors {
    color: #d9534f;
}

.field-validation-valid,
.validation-summary-valid {
    display: none;
}

input.input-validation-error,
select.input-validation-error {
    border: 1px solid #d9534f;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.auto-width {
    width: auto;
}

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.no-href {
    cursor: pointer;
}

.has-border-radius {
    border-radius: 4px;
}

table {
    &.table-details {
        th {
            text-align: right;
        }
    }

    td, th {
        vertical-align: middle !important;
    }
}

.ion {
    &.ion-mr {
        margin-right: 3px;
    }

    &.ion-ml {
        margin-left: 3px;
    }
}

.fa {
    &.fa-mr {
        margin-right: 3px;
    }

    &.fa-ml {
        margin-left: 3px;
    }
}

.mega-menu {

    .nav, .collapse, .dropup, .dropdown {
        position: static;
    }

    .container {
        position: relative;
    }

    .dropdown-menu {
        left: auto;
    }

    .mega-content {
        padding: 20px 30px;
    }

    .dropdown {
        float: left;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .dropdown.mega-fw .dropdown-menu {
        left: 0;
        right: 0;
        border-radius: 0;
        padding: 15px;
    }
}

.form-button-inside {
    position: relative;

    > button {
        position: absolute;
        top: 0;
        right: 0;
        color: #ddd !important;
        background-color: #fff;
        padding: 3px 6px;
        margin: 3px;

        &:hover {
            color: #777 !important;
        }
    }
}

.vid-responsive {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;

    iframe, object, embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.row {
    &.p-min {
        padding: 0 10px;

        > div {
            padding-left: 5px;
            padding-right: 5px;
            margin-bottom: 10px;
        }
    }
}

.pagination {
    margin: 0 !important;
}